package cc.htdf.gwc.radar.service.impl;

import cc.htdf.gwc.radar.domain.GridInfo;
import cc.htdf.gwc.radar.repository.StationInfoRepository;
import cc.htdf.gwc.radar.service.StationInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by JT on 2017/11/14.
 */
@Service
public class StationInfoServiceImpl implements StationInfoService {

    @Autowired
    private StationInfoRepository stationInfoRepository;

    @Override
    public List<GridInfo> findGridInfos() {
        return stationInfoRepository.findGridInfos();
    }
}
